<template>
  <div class="news-x">
    <van-nav-bar title="最新消息" left-arrow @click-left="$router.go(-1)" />
    <div class="boxx">
      <div class="img">
        <div class="bgcolora"></div>
        <div class="ms">
          <div class="text">
            <p>小程序服务（示例数据）</p>
            <p>专业提供微信小程序管理、设计服务</p>
          </div>
        </div>
      </div>
      <div class="txt-x">
        <p>专业！服务好！</p>
      </div>
    </div>
  </div>
</template>

<script>
import Vue from "vue";
import { Icon } from "vant";

Vue.use(Icon);
export default {};
</script>

<style>
.van-icon-arrow-left:before {
  color: black;
  font-size: 20px;
  font-weight: bold;
}
.van-nav-bar__title {
  font-size: 17px;
}
.news-x {
  background: #f4f4f4;
  width: 100%;
  height: 666px;
}
.boxx {
  width: 375px;
  height: 120.5px;
  padding: 0 15px;
  background: #ffffff;
}
.bgcolora {
  width: 65px;
  height: 100%;
  float: left;
  background: url(https://qz.faisys.com/image/defaultIcon.png?v=201911201246) 0 -935px
    no-repeat;
}
.img {
  width: 345px;
  height: 65px;
  padding: 14px 0;
}
.ms {
  width: 280px;
  height: 100%;
  float: left;
  background: #f8f8f8;
  overflow: hidden;
}
.text > p:nth-child(1) {
  font-size: 13px;
  margin-top: 10px;
  margin-bottom: 0;
}
.text > p:nth-child(2) {
  font-size: 12px;
  color: #888888;
  margin-top: 4px;
}
.text {
  margin-left: 10px;
}
.txt-x > p {
  font-size: 13px;
  margin-top: 0px;
}
</style>